import Vue from 'vue'
import App from './App.vue'
import router from './router'
import 'lib-flexible/flexible.js'
/* @表示项目的根路径 src */
import '@/assets/css/reset.css'
import VuePreview from 'vue-preview'
Vue.use(VuePreview)
import { Swipe, SwipeItem } from 'vant';

// Vue.filter("handleStr",(val)=>{
//   if(val.length>8){
//     return val.silce(0,6)+"..."
//   }
//   return val
// })
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
